import Layout from '../view/layout/Layout.vue'
const departmentRoutes = {
    path: "/sys/department",
    component: Layout,
    // 定义/assets的子路由
    // 访问/assets时，自动跳转到list
    redirect: "/sys/department/list",
    children: [
        {
            path: 'list',
            component: ()=> import('../view/departments/Departmentlist.vue')
        },
        //{
        //    path: 'reviewinfo',
        //    component: ()=> import('../view/knowledge/Reviewgroup.vue')
        //},
        //{
        //    path: 'typeinfo',
        //    component: ()=> import('../view/knowledge/Knowledgetype.vue')
        //},
        // {
        //     path: 'categoryinfo/:id',
        //     component: ()=> import('../view/assets/AssetsCategory.vue'),
            
        // },
    ]
}
export default departmentRoutes